package com.codi.bus.core.dao;

import com.codi.base.dao.v2.GeneratedBaseDao;
import com.codi.bus.core.domain.FundOptional;

import java.util.List;

/**
 * 亲，写个类注释呗
 * @author asus
 * @date 2017-12-06 17:36
 */
public interface FundOptionalDao extends GeneratedBaseDao<FundOptional> {
    List<FundOptional> selectAll();

    List<FundOptional> selectFund(Long userId);

    List<FundOptional> selectCurrency(Long userId);

    List<FundOptional> selectByUserId(Long userId);

    int deleteByUserIdAndCode(Long userId, String fundCode);
}
